package www.woniuxy.com.class112.service;

import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;
import www.woniuxy.com.class112.dto.PolicyDto;
import www.woniuxy.com.class112.param.policyParam.AddPolicyParam;
import www.woniuxy.com.class112.param.policyParam.PolicyCompileParam;
import www.woniuxy.com.class112.param.policyParam.PolicyfdAllParam;

import java.io.IOException;

public interface PolicyService {
    PageInfo<PolicyDto> policyfdAll(PolicyfdAllParam param)throws Exception;

    void delistpolicy(Long policyId)throws Exception;

    void enablepolicy(Long policyId)throws Exception;

    void deletepolicy(Long policyId);

    void addpolicy(AddPolicyParam param) throws Exception;

    String Pictureupload(MultipartFile imageUrl) throws Exception;

    void compilepolicy(PolicyCompileParam param)throws Exception;

    void tapNUm(Long id);

    PageInfo<PolicyDto> userpolicyfdAll(PolicyfdAllParam param);
}
